﻿namespace Gp.Scripts.Core
{
    public interface ITurnResolver
    {
        void Init(BattleSettleRoot settle);
        TransitionResult TransitionBattleStart();
        TransitionResult TransitionNextTurn();
    }
    
    public abstract class TurnResolverBase : ITurnResolver
    {
        protected BattleSettleRoot Settle { get; private set; }

        public virtual void Init(BattleSettleRoot settle)
        {
            Settle = settle;
        }
        
        public abstract TransitionResult TransitionBattleStart();
        public abstract TransitionResult TransitionNextTurn();
    }
}